package com.indusfo.spc.service;

import com.indusfo.spc.pojo.MatDete;
import com.indusfo.spc.vo.JSONObject;

import java.util.List;

/**
 * @Author liub
 * @Date 2019/11/22 17:42
 * @Version 1.0
 */
public interface MatDeteService {
    
    /**
     * 查询
     */
    JSONObject queryMatDete(MatDete matDete);

    /**
     * 新增
     */
    JSONObject insertMatDete(MatDete matDete);

    /**
     * 修改
     */
    JSONObject updateMatDete(MatDete matDete);

    /**
     * 启停
     */
    JSONObject deleteMatDete(List<Integer> matDeteIds, Integer dataState);
}
